import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import app from './App.vue'
import router from './router.js'

import './lib/mui/css/mui.css'

import { Header, Swipe, SwipeItem } from 'mint-ui';

Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

import VueResource from 'vue-resource'
Vue.use(VueResource)

var vm = new Vue({
    el: '#app',
    render: c => c(app),
    router
})